audioop
The audioop module contains some useful operations on sound fragments.
It operates on sound fragments consisting of signed integer samples of
8, 16 or 32 bits wide, stored in Python strings. This is the same
format as used by the al and sunaudiodev modules. All
scalar items are integers, unless specified otherwise.
A few of the more complicated operations only take 16-bit samples,
otherwise the sample size (in bytes) is always a parameter of the operation.
The module defines the following variables and functions:
rmsfragment width factor
Returns the root-mean-square of the fragment, i.e.
the square root of the quotient of the sum of all squared sample value,
divided by the sumber of samples.